<template>
  <div class="logins">
    <div class="header">
        <p>188****6645</p>
        <p>中国移动提供认证服务</p>
    </div>
    <div class="main">
        <p><van-button round type="info" style="width:300px">本机号码一键登录</van-button></p>
        <p><van-button round type="info" style="width:300px" class="btn">本机号码一键登录</van-button></p>
        <p>未注册的手机号将自动注册并登录</p>
    </div>


    <img src="../img/icon.png" class="icon"/>
    <div class="content">
      登录即同意<span>《中国移动认证服务器条款》</span>和美恰智慧医疗
      <span>用户协议</span>以及<span>隐私政策</span>
    </div>
    <span class="close" @click="close">关闭</span>
    
  </div>
</template>

<script>
export default {
    methods:{
        close(){
            this.$router.push('/login')
        }
    }
};
</script>

<style>
.icon{
  position: fixed;
  bottom: 100px;
  left: 155px;
}
.content{
  font-size: 18px;
  position: fixed;
  bottom: 30px;
  left: 10px;
  right: 10px;
  text-align: center;
}
.content span{
  color:  #87C9FE;
}
.logins{
    width: 100%;
    height: 100%;
}
.close{
    position: fixed;
    font-size: 18px;
    color: #ccc;
    top: 0;
}
.header{
    width: 100%;
    height: 100px;
    margin-top: 50px;
    text-align: center;
}
.header p:nth-of-type(1){
    font-weight: 800;
    font-size: 30px;
}
.header p:nth-of-type(2){
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}
.main{
    width: 100%;
    height: 200px;
    margin-top: 100px;
    text-align: center;
}
.main p{
    margin-top: 20px;
}
.btn{
    color: skyblue;
    background: whitesmoke;
    border: 0;
}
.main p:nth-of-type(3){
    color: #ccc;
}
</style>